WooCommerce\Square\Gateway\API\Requests\Payments S

Total Complexity 29
Dependencies 11
Dependents 1
Total lines 300
Lines of code 151
Logical lines of code 94
Comment lines 97
Methods 10
Properties 1

Methods 10

Method Rating Maintainability Complexity Lines of code
set_charge_data()
A
38 13 69
set_gift_card_charge_data()
S
49 7 30
set_update_payment_data()
S
52 2 24
__construct()
S
76 1 4
set_authorization_data()
S
80 1 3
set_capture_data()
S
70 1 6
set_void_data()
S
76 1 4
set_get_payment_data()
S
76 1 4
set_cancel_payment_data()
S
76 1 4
get_location_id()
S
82 1 3